{include file="public/header" /}



<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>{$Think.lang.adv_index_manage}</h3>
            </div>
            {include file="public/admin_items" /}
        </div>
    </div>
  <form method="get" action="" name="formSearch">
      <div class="ds-search-form">
          <dl>
              <dt>{$Think.lang.name}</dt>
              <dd><input class="txt" type="text" name="search_name" id="search_name" value="{$Request.param.search_name}" /></dd>
          </dl>
          <div class="btn-group">
              <a href="javascript:document.formSearch.submit();" class="btn" title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
              {if $filtered}
              <a href="{:url('Live/index')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
              {/if}
          </div>    
      </div>    
  </form>



  <div class="explanation" id="explanation">
      <div class="title" id="checkZoom">
          <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
          <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
      </div>
      <ul>
          <li>{$Think.lang.adv_help2}</li>
          <!--<li class="app_adv_ps">{$Think.lang.adv_help3}</li>-->
      </ul>
  </div>


    <table class="ds-default-table">
        <thead>
            <tr class="thead">
                <!--<th><input type="checkbox" class="checkall"/></th>-->
                <th>{$Think.lang.adv_name}</th>
                <th class="align-center">{$Think.lang.adv_start_time}</th>
                <th class="align-center">{$Think.lang.adv_end_time}</th>
                <th class="align-center">{$Think.lang.anchor_name}</th>
                <th class="align-center">{$Think.lang.anchor_wechat}</th>
                <th class="align-center">{$Think.lang.adv_img_upload}</th>
                <th class="align-center">{$Think.lang.adv_img_upload_1}</th>
                <th class="align-center" ><span>{$Think.lang.ds_handle}</span></th>
            </tr>
        </thead>
      <tbody>
        {notempty name="ap_list"}
        {foreach name="ap_list" item="v" key="k" }
        <tr class="hover" id="ds_row_{$v.id}">
          <!--<td class="w24"><input type="checkbox" class="checkitem" name="del_id[]" value="{$v.id}" /></td>-->
          <td class="name"><span >{$v.name}</span></td>
          <td class="name"><span>{:date('Y-m-d H:i:s',$v.startTime)}</span></td>
          <td class="name"><span>{:date('Y-m-d H:i:s',$v.endTime)}</span></td>
          <td class="name"><span>{$v.anchorName}</span></td>
          <td class="name"><span>{$v.anchorWechat}</span></td>
            <td class="w60 picture"><div class="size-56x56"><span class="thumb size-56x56"><i></i><img src="{$v.coverImg_1}" width="56" height="56"></span></div></td>
            <td class="w60 picture"><div class="size-56x56"><span class="thumb size-56x56"><i></i><img src="{$v.shareImg_1}" width="56" height="56"></span></div></td>
            <td class="nowrap align-center">
                <!-- 详细按钮 -->
                <a href="javascript:dsLayerOpen('{:url('Live/goodsList',['live_id'=>$v.id])}','商品列表')" class="dsui-btn-view"><i class="iconfont"></i>商品列表</a>

            </td>
        </tr>
        {/foreach}
        {else /}
        <tr class="no_data">
          <td colspan="15">{$Think.lang.ds_no_record}</td>
        </tr>
        {/notempty}
      </tbody>
    </table>
    {$showpage}

</div>
<script type="text/javascript" src="{$Think.ADMIN_SITE_ROOT}/js/jquery.edit.js" charset="utf-8"></script>